package br.com.universidade.castelo.branco.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LogoutController {
	
	@RequestMapping("/logout")
	public String encerraLogin(HttpSession session){
		session.invalidate();
		return "pesquisadesatisfacao/login/login";
	}

}
